package com.yuting.user.rpc;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "lagou-service-code")
public interface RpcCodeService {

    @GetMapping("code/validate/{email}/{code}")
    public Integer codeValidate(@PathVariable("email")String email, @PathVariable("code")String code);
}
